<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ContentView.ascx.cs" Inherits="IGlobalist.Cms.Admin.Control.ContentView" %>
<%@ Register Assembly="TinyMCE" Namespace="IGlobalist.Web.UI" TagPrefix="cc2" %>
<%@ Register Src="ContentNoteList.ascx" TagName="ContentNoteList" TagPrefix="uc2" %>
<%@ Register Src="CmsExtPropertiesForm.ascx" TagName="CmsExtPropertiesForm" TagPrefix="uc1" %>
 
<table>
<tr>
    <td>
    <fieldset id="Fieldset2" runat="server">
         <legend><asp:Label ID="Label10"  runat="server"  Text="Content info"></asp:Label> </legend>
    <table>
    <tr><td colspan="2">Version: 1</td></tr>
    <tr><td><asp:Label ID="Label1" runat="server" Text="Title"></asp:Label></td>
        <td><asp:TextBox ID="tbTitle" runat="server" ></asp:TextBox></td>    
    </tr>
    <tr>
        <td><asp:Label ID="Label7" runat="server" Text="Tags"></asp:Label></td>
        <td><asp:TextBox ID="tbtag" runat="server" Rows="4" Height="100px" TextMode="MultiLine" ></asp:TextBox></td>                       
    </tr>
    <tr>
        <td><asp:Label ID="Label8" runat="server" Text="Language"></asp:Label></td>
        <td>
         <asp:DropDownList ID="ddlLanguage" runat="server" DataSourceID="XDSLanguage" DataTextField="name" DataValueField="value"></asp:DropDownList>
         <asp:XmlDataSource ID="XDSLanguage" runat="server" DataFile="~/Admin/XML/Language.xml"
        XPath="//languages/item"></asp:XmlDataSource>   
         </td>                       
    </tr>
     <tr>
        <td valign="top"><asp:Label ID="Label3" runat="server" Text="Summary"></asp:Label></td>
        <td>
            <div style="overflow:auto;width:675px">
                <cc2:TinyMCE ID="tinyMCESummary" runat="server"  Theme="Advanced" ToolbarLocation="Top" Resize="false" Height="300px"/>
            </div>            
        </td>                       
    </tr>  
    
     <tr>
        <td valign="top"><asp:Label ID="Label2" runat="server" Text="Content"></asp:Label></td>
        <td>
            <div style="overflow:auto;width:675px">
                <cc2:TinyMCE ID="tinyMCEContent" runat="server" Theme="Advanced" ToolbarLocation="Top" Resize="false" Height="500px"/>
            </div>            
        </td>                       
    </tr>  

   

    <tr>
        <td><asp:Label ID="Label4" runat="server" Text="Author News"></asp:Label></td>
        <td>
            <asp:TextBox ID="tbAuthorNews" runat="server" ></asp:TextBox></td>                       
    </tr> 

    <tr>
        <td><asp:Label ID="Label6" runat="server" Text="Source"></asp:Label></td>
        <td>
            <asp:TextBox ID="tbSource" runat="server" ></asp:TextBox></td>                       
    </tr> 

    <tr>
        <td><asp:Label ID="Label5" runat="server" Text="Hot News"></asp:Label></td>
        <td><asp:CheckBox ID="cbHot" runat="server" /></td>                          
    </tr> 
    
    </table>
    </fieldset>
    </td>
</tr>

 <asp:Panel ID="pnlExt" runat="server">   
<tr><td><table>
<tr><td > <fieldset id="Fieldset1" runat="server" visible="false">
     <legend><asp:Label ID="Label9"  runat="server"  Text="Properties"></asp:Label> </legend>    
     <uc1:CmsExtPropertiesForm ID="ucCmsExtPropertiesForm" runat="server" />
     </fieldset>
     </td></tr>
</table></td></tr>
</asp:Panel>

<tr><td><table>
    <tr><td>
     <fieldset id="fsExt" runat="server" visible="false">
     <legend><asp:Label ID="lblExt"  runat="server"  Text="Content node"></asp:Label> </legend>             
    <uc2:ContentNoteList ID="ucContentNoteList" runat="server" />
    </fieldset>
    </td></tr>
</table></td></tr>
</table>

<asp:HiddenField runat="server" ID="hdfClassID" Value="0" />
<asp:HiddenField runat="server" ID="hdfPageID" Value="0" />
<asp:HiddenField runat="server" ID="hdfCategoryID" Value="0" />
